<template>
	<view class="page">
		<view class="list" @click="go_list(1)">
			<image src="/static/img/advertising1.png" mode=""></image>
			<text>普通广告</text>
		</view>
		<view class="list" @click="go_list(2)">
			<image src="/static/img/advertising2.png" mode=""></image>
			<text>招商广告</text>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			type: ''
		};
	},
	mounted() {},
	methods: {
		go_list(e) {
			console.log(123);
			uni.setStorage({
				key: 'agentadvertisinglist',
				data: e,
				success: function() {
					uni.navigateTo({
						url: '/pages/agent/advertising/list'
					});
				}
			});
		}
	}
};
</script>

<style lang="less" scoped>
	.page{
		background-color: #f7f7f7;
		height: calc(100vh - 60rpx);
		padding-top: 60rpx;
	}
.list {
	margin: 0 20rpx 60rpx;
	background: #ffffff;
	border-radius: 20rpx;
	height: 251rpx;
	line-height: 251rpx;
	text-align: center;
	
	image {
		position: relative;
		top: 30rpx;
		right: 55rpx;
		width: 92rpx;
		height: 96rpx;
	}
}
</style>
